﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using NUnit.Framework;
using NHibernate.Cfg;
using LightWeb.Infrastructure.Repositories;

namespace LightWeb.DomainModel.Tests
{
    [TestFixture]
    public class FixtureBase
    {
        private Configuration _cfg;

        [TestFixtureSetUp]
        public void FixtureSetUp()
        {
            //HibernatingRhinos.Profiler.Appender.NHibernate.NHibernateProfiler.Initialize();
            log4net.Config.XmlConfigurator.Configure();
            //_cfg = new Configuration();
            //_cfg.Configure();
            //DataContext.ReCreateDatabase();
            //DataContext.ForceInit();
        }

        [TestFixtureTearDown]
        public void FixtureTearDown()
        {

        }
    }
}
